package com.ruimei.entitys.enums;

public enum CencusNature
{
  CITY("城镇"),  COUNTRYSIDE("农村");
  
  private String name;
  
  private CencusNature(String name)
  {
    this.name = name;
  }
  
  public String getName()
  {
    return this.name;
  }
  
  public static CencusNature matching(String ch)
  {
    switch (ch)
    {
    case "城镇": 
      return CITY;
    case "农村": 
      return COUNTRYSIDE;
    }
    return CITY;
  }
}


/* Location:              E:\360MoveData\Users\admin\Desktop\teacher_wap-0.0.1-SNAPSHOT.jar!\BOOT-INF\classes\com\ruimei\entitys\enums\CencusNature.class
 * Java compiler version: 8 (52.0)
 * JD-Core Version:       0.7.1
 */